﻿namespace XuanFe.Database.Model
{
    /// <summary>
    /// 序列号模型
    /// </summary>
    public class SequenceModel
    {
        /// <summary>
        /// 序列号名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 最小值
        /// </summary>
        public decimal MinValue { get; set; }
        /// <summary>
        /// 最大值
        /// </summary>
        public decimal MaxValue { get; set; }
        /// <summary>
        /// 下一个值
        /// </summary>
        public decimal NextNumber { get; set; }
        /// <summary>
        /// 递增数量
        /// </summary>
        public decimal IncrementBy { get; set; }
        /// <summary>
        /// 循环标识
        /// </summary>
        public bool Cycle { get; set; }
    }
}
